package com.ruoyi.project.dj.service.impl;

import com.ruoyi.project.dj.domain.DjStandardAssessmentRule;
import com.ruoyi.project.dj.mapper.DjStandardAssessmentRuleMapper;
import com.ruoyi.project.dj.service.IDjStandardAssessmentRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 支部标准化 - 考核细则表
 */
@Service
public class DjStandardAssessmentRuleServiceImpl implements IDjStandardAssessmentRuleService {
    @Autowired
    private DjStandardAssessmentRuleMapper djStandardAssessmentRuleMapper;

    @Override
    public List<DjStandardAssessmentRule> selectDjStandardAssessmentRuleList(DjStandardAssessmentRule djStandardAssessmentRule) {
        return djStandardAssessmentRuleMapper.selectDjStandardAssessmentRuleList(djStandardAssessmentRule);
    }

    @Override
    public DjStandardAssessmentRule selectDjStandardAssessmentRuleById(Integer id) {
        return djStandardAssessmentRuleMapper.selectDjStandardAssessmentRuleById(id);
    }

    @Override
    public int insertDjStandardAssessmentRule(DjStandardAssessmentRule djStandardAssessmentRule) {
        return djStandardAssessmentRuleMapper.insertDjStandardAssessmentRule(djStandardAssessmentRule);
    }

    @Override
    public int updateDjStandardAssessmentRule(DjStandardAssessmentRule djStandardAssessmentRule) {
        return djStandardAssessmentRuleMapper.updateDjStandardAssessmentRule(djStandardAssessmentRule);
    }

    @Override
    public int deleteDjStandardAssessmentRuleById(Integer id) {
        return djStandardAssessmentRuleMapper.deleteDjStandardAssessmentRuleById(id);
    }
}